package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 新章申请表
 * 
 * @author 张朋朋
 *
 */

@Entity
public class t_seal_new implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;

	private String bank_id;// 使用的银行
	private String use_bank_id;// 印章使用的银行

	private String check_id;
	private String workflow_id;

	private String file_id;// 印模图片
	private String temp_save_user_id;// 用于临时保存登记时的保管人员
	private String true_code;//实物编号

	private String seal_type_id;// 印章种类
	private String seal_type_config_id;// 印章类型
	private String title;// 刻章字样
	private String desc_s;// 刻章原因

	private String factory;// 刻章厂
	private String factory_linkman;// 刻章厂联系人
	private String factory_mobile;// 刻章厂联系人电话

	private String note;// 备注

	private String flag;// 提交状态:已保存 or 待复核 or 审核中 or 已审核通过 or 刻制中 or 复核中 or 刻制完成
						// |or
						// 已拒绝

	private String user_id;// 录入人员  申请人员
	private String user_bank_id;
	
	private String engrave_user_id;//登记人员
	private String engrave_user_bank_id;
	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	// ======= get / set ()=================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getBank_id() {
		return bank_id;
	}

	public void setBank_id(String bank_id) {
		this.bank_id = bank_id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSeal_type_id() {
		return seal_type_id;
	}

	public void setSeal_type_id(String seal_type_id) {
		this.seal_type_id = seal_type_id;
	}

	public String getNote() {
		return note;
	}

	public String getDesc_s() {
		return desc_s;
	}

	public void setDesc_s(String desc_s) {
		this.desc_s = desc_s;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getUser_bank_id() {
		return user_bank_id;
	}

	public void setUser_bank_id(String user_bank_id) {
		this.user_bank_id = user_bank_id;
	}

	public String getWorkflow_id() {
		return workflow_id;
	}

	public void setWorkflow_id(String workflow_id) {
		this.workflow_id = workflow_id;
	}

	public String getSeal_type_config_id() {
		return seal_type_config_id;
	}

	public void setSeal_type_config_id(String seal_type_config_id) {
		this.seal_type_config_id = seal_type_config_id;
	}

	public String getCheck_id() {
		return check_id;
	}

	public void setCheck_id(String check_id) {
		this.check_id = check_id;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getFactory() {
		return factory;
	}

	public void setFactory(String factory) {
		this.factory = factory;
	}

	public String getFactory_linkman() {
		return factory_linkman;
	}

	public void setFactory_linkman(String factory_linkman) {
		this.factory_linkman = factory_linkman;
	}

	public String getFactory_mobile() {
		return factory_mobile;
	}

	public void setFactory_mobile(String factory_mobile) {
		this.factory_mobile = factory_mobile;
	}

	public String getFile_id() {
		return file_id;
	}

	public void setFile_id(String file_id) {
		this.file_id = file_id;
	}

	public String getUse_bank_id() {
		return use_bank_id;
	}

	public void setUse_bank_id(String use_bank_id) {
		this.use_bank_id = use_bank_id;
	}

	public String getTemp_save_user_id() {
		return temp_save_user_id;
	}

	public void setTemp_save_user_id(String temp_save_user_id) {
		this.temp_save_user_id = temp_save_user_id;
	}

	public String getTrue_code() {
		return true_code;
	}

	public void setTrue_code(String true_code) {
		this.true_code = true_code;
	}

	public String getEngrave_user_id() {
		return engrave_user_id;
	}

	public void setEngrave_user_id(String engrave_user_id) {
		this.engrave_user_id = engrave_user_id;
	}

	public String getEngrave_user_bank_id() {
		return engrave_user_bank_id;
	}

	public void setEngrave_user_bank_id(String engrave_user_bank_id) {
		this.engrave_user_bank_id = engrave_user_bank_id;
	}

}
